package monitor

import . "gitee.com/aldrice/monitor/internal/monitor/report"

const (
	CodeSuccess          = 0
	CodeTransmitDenied   = 10000
	CodeFailedToHandle   = 10001
	CodeFailedToTransmit = 10002
	CodeFailedToStored   = 10003
)

func responseFormat(status int32, msg string, st *AgentSetting) *ReportRsp {
	return &ReportRsp{
		Code:    status,
		Msg:     msg,
		Setting: st,
	}
}
